import request from '@/utils/request'

// 查询【质控文件】列表
export function listQualityFiles(query) {
  return request({
    url: '/system/qualityFiles/list',
    method: 'get',
    params: query
  })
}

// 查询【请填写功能名称】详细
export function getQualityFiles(id) {
  return request({
    url: '/system/qualityFiles/' + id,
    method: 'get'
  })
}

// 新增【请填写功能名称】
export function addQualityFiles(data) {
  return request({
    url: '/system/qualityFiles',
    method: 'post',
    data: data
  })
}

// 修改【请填写功能名称】
export function updateQualityFiles(data) {
  return request({
    url: '/system/qualityFiles',
    method: 'put',
    data: data
  })
}

// 删除【请填写功能名称】
export function delQualityFiles(id) {
  return request({
    url: '/system/qualityFiles/' + id,
    method: 'delete'
  })
}
